﻿#ifndef PINYINCUSTOM_H
#define PINYINCUSTOM_H

#include <QObject>
class frmInput2019;

class PinYinCustom : public QObject
{
    Q_OBJECT
public:
    explicit PinYinCustom(QObject *parent = 0);

private:
    frmInput2019 *input;

public slots:
    void setInput(frmInput2019 *input);

    //读取优先词库文件
    void readChinese();
    //保存当前选中汉字到文件
    void saveChinese(const QString &value, const QString &pinyin);
};

#endif // PINYINCUSTOM_H
